package fr.uhp.mpr.data;
import java.util.Date;

public class Jour {
	
	protected Date date;
	protected Intervalle temperature;
	protected Intervalle humidite;
	protected Intervalle pression;
	protected Intervalle pluie;
	protected Intervalle vent;
	protected int direction;
	protected Intervalle rosee;
	protected Intervalle tvent;
	protected Intervalle rafales;
	
	public Jour(Date date, Intervalle temperature, Intervalle humidite,
			Intervalle pression, Intervalle pluie, Intervalle vent,
			int direction, Intervalle rosee, Intervalle tvent,
			Intervalle rafales) {
		this.date = date;
		this.temperature = temperature;
		this.humidite = humidite;
		this.pression = pression;
		this.pluie = pluie;
		this.vent = vent;
		this.direction = direction;
		this.rosee = rosee;
		this.tvent = tvent;
		this.rafales = rafales;
	}
	
	public Date getDate() {
		return date;
	}
	
	public Intervalle getTemperature() {
		return temperature;
	}
	
	public Intervalle getHumidite() {
		return humidite;
	}
	
	public Intervalle getPression() {
		return pression;
	}
	
	public Intervalle getPluie() {
		return pluie;
	}
	
	public Intervalle getVent() {
		return vent;
	}
	
	public int getDirection() {
		return direction;
	}
	
	public Intervalle getRosee() {
		return rosee;
	}
	
	public Intervalle getTvent() {
		return tvent;
	}

	public Intervalle getRafales() {
		return rafales;
	}

	@Override
	public String toString() {
		return "date=" + date + ", direction=" + direction
				+ ", humidite=" + humidite + ", pluie=" + pluie + ", pression="
				+ pression + ", rafales=" + rafales + ", rosee=" + rosee
				+ ", temperature=" + temperature + ", tvent=" + tvent
				+ ", vent=" + vent;
	}
	
}
